import React,{Component} from 'react'
export default class Home extends Component{
    constructor(props){
        super(props)
        this.state={
            val: ''
        }
    }
    changeInput(e){
        this.setState({
            val:e.target.value
        })
    }
    render (){
        return (
            <div className='box'>
                Home<input type="text" value={this.state.val} onChange={(e)=>this.changeInput(e)}/>
            </div>
        )
    }
}
